package cn.bdqn.service.impl;

import cn.bdqn.domain.DoctorDiagnose;
import cn.bdqn.mapper.DoctorDiagnoseMapper;
import cn.bdqn.service.DoctorDiagnoseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DoctorDiagnoseServiceImpl implements DoctorDiagnoseService {
    @Autowired
    private DoctorDiagnoseMapper doctorDiagnoseMapper;

    /**
     * 根据regisId查询诊断信息
     * @param regisId
     * @return
     */
    @Override
    public DoctorDiagnose queryByRegisId(String regisId) {
        return doctorDiagnoseMapper.selectByRegisId(regisId);
    }
}
